jas.plugin
Class ExtensionPlugin

java.lang.Object
  |
  +--jas.plugin.BasicPlugin
        |
        +--jas.plugin.ExtensionPlugin
All Implemented Interfaces:
IExtensionPlugin

public abstract class ExtensionPlugin
extends BasicPlugin
implements IExtensionPlugin

Support for Java Analysis Studio Extension Plugins The Plugin class is used to extend the functionality of Java Analysis Studio with experiment, group, or personal extensions. Java Analysis Studio plugins extend the Plugin class in a similar manner that web applets extend Applet. Plugins are a little more flexible than web applets however, since plugins can add new items to the Java Analysis Studio menu, create windows in the main body of the application, and interact with event data.

A typical use for a plugin would be to provide an experient specific event display within the body of the Java Analysis Studio application.

The current plugin functionality is fairly limited, more will be added in later releases. Send suggestions for improve functionality to jas-feedback@sld-mail.slac.stanford.edu

Note: Most of the methods of Plugin require a context, and therefore should not be called before the Plugin is initialized (i.e. its init() method is called).

See Also:
Plugin

Fields inherited from class jas.plugin.BasicPlugin
out
 
Constructor Summary
ExtensionPlugin()
           
 
Method Summary
 ExtensionPluginContext getPluginContext()
          Provides access to the PluginContext.
 void registerDIM(LocalDIM dim)
          Register a LocalDIM
 void setPluginContext(ExtensionPluginContext context)
          Called by the application before the plugins init method is called, to install the PluginContext
 
Methods inherited from class jas.plugin.BasicPlugin
addMenu, error, error, init, installConsole, installControl, installPage, removeMenu, sendMessage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionPlugin

public ExtensionPlugin()
Method Detail

setPluginContext

public void setPluginContext(ExtensionPluginContext context)
Called by the application before the plugins init method is called, to install the PluginContext
Specified by:
setPluginContext in interface IExtensionPlugin

getPluginContext

public ExtensionPluginContext getPluginContext()
Provides access to the PluginContext. It is better to use the many utility methods in Plugin rather than accessing the PluginContext directly.

registerDIM

public void registerDIM(LocalDIM dim)
Register a LocalDIM